(display_text_line): Don't call compute_char_face for a non-X frame.
authorRichard M. Stallman <rms@gnu.org>
Thu, 27 May 1993 03:56:12 +0000 (03:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 27 May 1993 03:56:12 +0000 (03:56 +0000)
src/xdisp.c

index e72ca03208328f498af222d11ef063cffced5000..762abb65aaed5aed27eced5b689055f9883ff12c 100644 (file)
@@ -1790,7 +1790,7 @@ display_text_line (w, start, vpos, hpos, taboffset)
          /* Did we hit a face change?  Figure out what face we should
             use now.  We also hit this the first time through the
             loop, to see what face we should start with.  */
-         if (pos == next_face_change)
+         if (pos == next_face_change && FRAME_X_P (f))
            current_face = compute_char_face (f, w, pos,
                                              region_beg, region_end,
                                              &next_face_change);